package net.lzzy.lxq.server;

import net.lzzy.lxq.dao.GetCarouselInterface;
import net.lzzy.lxq.entities.Carousel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GetCarouselService {
    @Autowired
    GetCarouselInterface carouselInterface;

    public List<Carousel> getAllCarousel(){
        return carouselInterface.getAllCarousels();
    }
}
